import request from '@/utils/request/index.js'

export default {
  login (data) {
    return request({
      url: '/login',
      method: 'post',
      data
    }, {
      isShowErrorMessage: true,
      successMessageText: '登录成功'
    })
  }
}
